package mapred;

import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapred.MapReduceBase;

public abstract class AdvancedMapReduceBase extends MapReduceBase {

	private JobConf conf;
	
	public void configure(JobConf conf) {
		super.configure(conf);
		this.conf = conf;
		
		setUp();
	}
	
    public JobConf getJobConf() {
		return conf;
	}
	
	public String getJobConfConfig(String key) {
		return conf.get(key.toLowerCase());
	}
	
    public abstract void setUp();

}
